<template>
	<!-- D:/project/app/ydz-app-uniapp/static/images/login -->
	<view class="pagebody" :style="{ minheight: maxHeight }">
		<view class="topbgbox">
			<view class="align-center justify-center pos-rel">
				<image class="pos-abs" @click="backpage" src="@/static/images/login/leftjt.png" alt=""
					style="width: 48rpx;height: 48rpx;left: 0;"></image>
				<view class="fz36">
					完善个人资料
				</view>
			</view>
			<view class="fz32 color303b39 flex-row align-center fwbold" style="margin-top: 82rpx;">
				请选择科室
			</view>
			<view class="flex-wrap">
				<view class="disbtn truebtn">
					肿瘤科
				</view>
				
			</view>
			
			<view class="fz32 color303b39 flex-row align-center fwbold" style="margin-top: 85rpx;">
				请选择疾病
			</view>
			<view class="flex-wrap">
				<view class="disbtn falsebtn">
					肺癌
				</view>
				
			</view>

			<view class="align-center loginbtn justify-between">
				<button class="button fwbold" :style="{opacity:name.length>0?'1':'0.5'}"
					:disabled="name.length>0?false:true" type="primary" @click="next">下一步</button>
			</view>
		</view>
		<u-toast ref="uToast" />


	</view>
</template>

<script>
	export default {
		onLoad() {
			// 获得屏幕最大高度
			let systemInfo = uni.getSystemInfoSync();
			this.maxHeight = systemInfo.windowHeight + "px";
		},
		data() {
			return {
				maxHeight: '',
				name:'123'

			}
		},
		created() {
		},
		methods: {
			next: function(e) {
					uni.navigateTo({
						url: `/pages/login/setother`
					});
				

			},
			backpage() {
				uni.navigateBack({
					delta: 1
				});
			},

		}
	};
</script>

<style lang="scss" scoped>
	page {
		background: #fff;
	}

	::v-deep .is-input-border {
		border: none;
	}

	::v-deep .uni-easyinput__content {
		background: transparent !important;
	}

	::v-deep .uni-input-input {
		font-size: 32rpx;
	}

	::v-deep uni-checkbox .uni-checkbox-input {
		background: transparent;
	}

	::v-deep uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
		color: #fff;
		border-color: #00D9B2;
		background: #00D9B2;
	}

	::v-deep .uni-icons {
		font-size: 52rpx !important;
	}

	::v-deep uni-toast {
		font-size: 24rpx;
	}

	.pagebody {
		box-sizing: border-box;
		background-image: url('/static/images/login/otherbg.png');
		position: relative;
		background-repeat: no-repeat;
		background-size: cover;

		.topbgbox {
			box-sizing: border-box;
			padding: 14rpx 40rpx 0;
			.disbtn{
				margin-top: 32rpx;
				width: max-content;
				padding: 0rpx 32rpx;
				border-radius: 98rpx;
				font-size: 32rpx;
				height: 68rpx;
				line-height: 68rpx;
				text-align: center;
				
			}
			.falsebtn{
				border: 1px solid #D7DDDC;
				color: #303B39;
			}
			.truebtn{
				border: 1px solid #00D9B2;
				color: #00D9B2;
			}

			.loginbtn {
				// position: absolute;
				// bottom: 0;
				margin-top: 96rpx;

				uni-button {
					border-radius: 98rpx;
					width: 668rpx;
				}

				uni-button:after {
					border: none;
				}

				.button {
					background-color: #00D9B2;
					display: flex;
					align-items: center;
					justify-content: center;
					font-size: 36rpx;

				}
			}
		}

	}
</style>